﻿@model GSLMS.Entity.TB_LOAN_CONTRACTTMP
@{
    
    var systemIDList = ViewData["systemIDList"] as SelectList;
}
<div class="pageContent">
    <form method="post" action="Contract/ConTmp/EditConTmp?OpID=@ViewData["OperateID"]" class="pageForm required-validate"
    onsubmit="return validateCallback(this, dialogAjaxDone);">
  
    <div class="pageFormContent" layouth="60">
       @Html.HiddenFor(model => model.ID)
       @Html.HiddenFor(model => model.TMPFLAG)
       <p>

            <label>
                模板名称：</label>
            @Html.TextBoxFor(model => model.TMPNAME, new { @class = "required" })
          
        </p>
        <p style="display:none;">
            <label>
                模板文档：</label>
             <input name="file1" type="file" />
            @Html.HiddenFor(model => model.SAVEURL)
           
        </p>
        <p>
            <label>
                模板类别：</label>
            @Html.RadioButton("TMPTYPE", 1, true)
            一般合同
            @Html.RadioButton("TMPTYPE",2)
            定制合同
            
        </p>
        <p>
            <label>
                状态：</label>
            @Html.RadioButton("STATUS", 1,true)
            生效
            @Html.RadioButton("STATUS", 0)
            失效
        </p>
       <p>
            <label>
                对应子系统：</label>
          
            @Html.DropDownList("SYSTEMID", systemIDList, new { @class = "combox" })
           
        </p>
         <p style="width: 90%; height:75px;">
            <label>
                备注：</label>
            @Html.TextAreaFor(model => model.REMARK, new { @cols = "70", @rows = "5" })
            
        </p>
        <p style="width: 100%;text-align:center;">
          <span style="color:Gray;">文件名称请保持唯一，模板类别为一般合同时将使用公用的参数进行标签赋值；<br /><br />
          如果不选择合同模板文件，将在服务器生成新文档，您可以在线编辑它。</span>
        </p>
    </div>
    @Html.Partial("FormButtonBar")
    </form>

</div>
